<?php

/**
 * Balayage form.
 *
 * @package    appcemhti
 * @subpackage form
 * @author     Steve Cancès
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class BalayageForm extends BaseBalayageForm
{
    public function configure()
    {
        $this->widgetSchema['libelle']->setLabel("Nom du balayage");

        $this->getValidator('libelle')->setMessage('required', 'Champ obligatoire.');
        $this->getValidator('libelle')->setMessage('max_length', '"%value%" est trop long (%max_length% lettres maximum).');
    }
}
